﻿using MediatR;
using PublicCommon;
using System.ComponentModel.DataAnnotations;

namespace T_vehicle.API.Application.Command.ExpensesCommand
{
    public class AddExpensesCommand:Audit,IRequest<int>
    {
        /// <summary>
        /// 费用ID
        /// </summary>
        [Key]
        public int ExpensesId { get; set; }

        /// <summary>
        /// 费用标题
        /// </summary>
        public string? ExpensesTitle { get; set; }

        /// <summary>
        /// 费用类型化
        /// </summary>
        public string? ExpensesType { get; set; }

        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicenNumber { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal? Money { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string? Head { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 使用时间
        /// </summary>
        public DateTime? Dateofuse { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
